package com.dj.mingkong.portal.biz.enums;


/**
 * 音乐盒类型枚举
 *
 * @author zenglonghui
 * @date: 2022/8/31 15:01
 */
public enum BoxTypeEnum {

    /**
     * 默认
     */
    DEFAULT(0, "默认"),

    /**
     * 自建
     */
    CREATE(1, "自建");

    private final Integer type;
    private final String desc;

    BoxTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsType(Integer type) {
        return this.type.equals(type);
    }
}
